<!--{include header}-->
<!--${$column_num=5;}-->
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="pageNav">
	<tr>
		<td>共 <strong>{$pager['total']}</strong>, 显示 <strong>{$pager['from']} - {$pager['to']}</strong></td>
		<td align="right">{$pager['html']}</td>
	</tr>
</table>
<form name="towmList" method="post" >
<table width="100%"  border="0" cellspacing="1" cellpadding="3" class="tableOutborder">
	<tr class="tableHeader"><td colspan="{$column_num}"><B>&nbsp;区域列表</B></td></tr>
	<tr class="tableHeader">
		<td width="4%" align="center"><input type="checkbox" name="checkbox" onclick="DoSelectAll(this, 'arr_ids')"></td>
		<td width="4%" align="center">ID</td>
		<td width="10%" align="center">栏目名称</td>
		<td width="27%" align="center">操作</td>
	</tr>
	<!--${$index=0;}-->
	<!--{foreach $lists AS $one}-->
	<tr class="bg_${$index++%2}">
		<td align="center"><input type="checkbox" name="arr_ids[]" value="{$one['id']}"></td>
		<td align="center">&nbsp;{$one['id']}</td>
		<td align="center">&nbsp;{$one['name']}</td>
		<td align="center">
			<!--{if $one['children'] }-->
			<input type="button" class="thickbox" value="添加子栏目" alt="ajax/add.php?id=0&amp;table={$table}&amp;TB_iframe=true&amp;keepThis=true&amp;height=455&amp;width=420&amp;modal=true"/>
			<!--{/if}-->
			<input type="button" class="thickbox" value="编 辑" alt="ajax/edit.php?id={$one['id']}&amp;table={$table}&amp;TB_iframe=true&amp;keepThis=true&amp;height=455&amp;width=420&amp;modal=true"/>
			<input type="button" value="删 除" onclick="DoDelete({$one['id']}, 'town')"/>
		</td>
	</tr>
	<!--{/foreach}-->

	<!--{if $lists}-->
	<tr class="tableHeader">
		<td align="center">
			<input type="checkbox" name="checkbox" onclick="DoSelectAll(this, 'arr_ids')">
		</td>
		<td colspan="{$column_num-1}">
			<input type="button" value=" 删除 " onclick="DoDelete(GetCheckValue(this,'arr_ids'),'town');">
			<input type="button" class="thickbox" value=" 添 加 " alt="ajax/add.php?id=0&amp;table={$table}&amp;TB_iframe=true&amp;keepThis=true&amp;height=455&amp;width=420&amp;modal=true"/>
		</td>
	</tr>
	<!--{else}-->
	<tr class="bg_0">
		<td colspan="{$column_num}">&nbsp;未搜索到任何匹配的影片信息！</td>
	</tr>
	<!--{/if}-->
</table>

<table width="100%" border="0" cellspacing="1" cellpadding="3" class="pageNav">
	<tr>
		<td>共 <strong>{$pager['total']}</strong>, 显示 <strong>{$pager['from']} - {$pager['to']}</strong></td>
		<td align="right">{$pager['html']}</td>
	</tr>
</table>
<!--{include footer}-->
